package com.santu.edu.supporter.biz.pay.service;


import com.santu.edu.supporter.biz.pay.pojo.dto.WxChatBasePayDTO;
import com.santu.edu.supporter.biz.pay.pojo.dto.WxChatPayDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface WxOrderService {

    /**
     * 微信用户调用微信支付
     */
    WxChatPayDTO pay(WxChatBasePayDTO dto);

    /**
     * 订单支付后回调
     */
    Boolean wxOrderCallBack(HttpServletRequest request, HttpServletResponse response);

/*    *//**
     * 订单退款
     * @param orderId 订单id
     * @param orderType 订单类型
     * @return
     *//*
    Boolean orderRefund(String orderId,Integer orderType);*/

}
